﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.ProductionDomain
{
    /// <summary>
    /// 退料产品表
    /// </summary>
    [SugarTable("StripProduct")]
    public class StripProduct : Audit
    {
        /// <summary>
        /// 退料产品Id
        /// </summary>
        [SugarColumn(IsIdentity =true,IsPrimaryKey =true)]//主键自增
        public int StripProductId { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 生产退料编号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? StripNumber { get; set; }
        /// <summary>
        /// 退料数量
        /// </summary>
        public int StripProductNum { get; set; }
    }
}
